<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Window history.forward()</title>
    <script>
        function goForward() {
            window.history.forward()
        }
    </script>
</head>

<body>
    <!-- history forward() 方法加载历史列表中的下一个 URL。 -->
    <input type="button" value="Forward" onclick="goForward()">
</body>

</html>